//
//  Game.m (Level 1)
//  GameProject
//
//  Created by Blair Trusler on 02/08/2011.
//  Copyright 2011 Blair Trusler. All rights reserved.
//

#import "GameHeader.h"

@implementation Game

- (id)init
{
    //CHANGED LOLOL
    self = [super init];
    if (self) {
        //add tiled map as base layer
        Background *backgroundLayer = [Background node];
        [self addChild:backgroundLayer z:-1];
        
        //add HUD and sprite(s) ABOVE the tiled map
        HUD *hudLayer = [HUD node];
        [self addChild:hudLayer z:1];
        
        Fog *fogLayer = [Fog node];
        [self addChild:fogLayer z:0];

    }
    return self;
}

@end
